package com.vehicle.bean;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-21
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="Record对象", description="")
public class Record implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "停车记录id")
        @TableId(value = "record_id", type = IdType.AUTO)
      private Integer recordId;

      @ApiModelProperty(value = "车位id")
      private Integer parkingId;

      @ApiModelProperty(value = "停车记录的开始时间")
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      @ApiModelProperty(value = "停车记录的结束时间")
      private LocalDateTime leftTime;

      @ApiModelProperty(value = "该停车记录是否被删除（0：未删除，1：已删除）")
      @TableLogic
    private Integer deleted;

      @ApiModelProperty(value = "记录关联用户id")
      private Integer userId;

      @ApiModelProperty(value = "记录车牌号")
      private String plateNumber;

      @ApiModelProperty(value = "记录状态")
      private String recordState;

      @ApiModelProperty(value = "图片路径")
      private String pictureList;


}
